package com.zh.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zh.web.base.BasePageDto;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("分页消息")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PageMessageDto extends BasePageDto implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "消息发送者id")
    private Long fromId;
    @ApiModelProperty("消息类型")
    private String type;
    @ApiModelProperty(value = "状态")
    private Status status;

}
